﻿#include <iostream>
using namespace std;
void func(string* name, int* age);
int main()
{
    string str = "三毛";
    int num = 1;
    func(&str, &num);

    cout << str << "撒谎，他明明" << num << "岁了" << endl;
}

void func(string* name, int* age)
{
    cout << "大家好我叫：" << *name << "，今年" << *age << "岁" << endl;
    *age = 30;

}


